#ifndef NODEPAGE_H
#define NODEPAGE_H

#include <QWidget>
#include <QLabel>
#include <QGridLayout>
#include <QCheckBox>
#include <QListWidget>
#include <QColor>
//#include <QStringList>
#include "../../SASNetRawLog/SASNetRawLog/node.h"

class NodePage : public QWidget
{
    Q_OBJECT
public:
    explicit NodePage(int pageIndex, Node *node, QWidget *parent = 0);
    void changePageItemColor(int itemIndex, QColor color);

signals:
    void changeTimeGraphItem(int pageIndex, int itemIndex);

public slots:
    void reportChange(QModelIndex index);

private:
    QString nodeName;
//    Node *CurNode;
    QListWidget *ADC;

    int tabPageIndex;
};

#endif // NODEPAGE_H
